package org.plex.queue.imp;

import java.io.Serializable;
import java.util.Date;

import org.plex.queue.UserQueue;

public class UserQueueImp implements UserQueue, Serializable
{

	private static final long serialVersionUID	= -8706492705122473191L;

	private com.adobe.idp.taskmanager.dsc.client.queuemanager.UserQueue	userQueue;

	public com.adobe.idp.taskmanager.dsc.client.queuemanager.UserQueue getUserQueue()
	{
		return userQueue;
	}

	public void setUserQueue(
			com.adobe.idp.taskmanager.dsc.client.queuemanager.UserQueue userQueue)
	{
		this.userQueue = userQueue;
	}

	public UserQueueImp(
			com.adobe.idp.taskmanager.dsc.client.queuemanager.UserQueue userQueue)
			throws NullPointerException
	{
		if (null == userQueue)
		{
			throw new NullPointerException();
		}
		this.userQueue = userQueue;
	}

	public String getCommonName()
	{
		// TODO Auto-generated method stub
		return this.userQueue.getCommonName();
	}

	public Date getCreateTime()
	{

		return userQueue.getCreateTime();
	}

	public String getDescription()
	{
		// TODO Auto-generated method stub
		return userQueue.getDescription();
	}

	public long getId()
	{
		// TODO Auto-generated method stub
		return userQueue.getId();
	}

	public String getOwner()
	{
		// TODO Auto-generated method stub
		return userQueue.getOwner();
	}

	public String getTilte()
	{
		// TODO Auto-generated method stub
		return userQueue.getTitle();
	}

	public Date getUpdateTime()
	{
		// TODO Auto-generated method stub
		return userQueue.getUpdatedTime();
	}

	public boolean isDefaultQueueForUser()
	{
		// TODO Auto-generated method stub
		return this.userQueue.isDefaultQueueForUser();
	}

	public void setDescription(String descriptionString)
	{
		this.setDescription(descriptionString);

	}

	public void setTitle(String title)
	{
		this.setTitle(title);
	}

}
